package com.df.bpm.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.df.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Table;


/**
 * 过程主体DTO
 * <P>扩展类型信息和相关业务信息</P>
 */
@TableName("businessOverview.businessEntityDTO")
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name="businessOverview.businessEntityDTO")
public class BusinessEntityDTO extends BaseEntity {

    /**
     * 清单主键id
     */
    @Schema(description = "清单主键id")
    private Integer businessEntityIndex;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 分类
     * <P>人、机、料、法</P>
     */
    @Schema(description = "分类")
    private Integer entityTypeIndex;

    /**
     * 表名称
     */
    @Schema(description = "表名称")
    private String tableName;

    /**
     * 表所在模式
     */
    @Schema(description = "表所在模式")
    @TableField(value = "\"schema\"")
    private String modelName;

    /**
     * 名称
     * <P>人、机、料、法</P>
     */
    @Schema(description = "名称")
    private String typeName;

    /**
     * 担当的业务
     */
    @Schema(description = "担当的业务")
    private String masterBusiness;

    /**
     * 当作输入的业务
     */
    @Schema(description = "当作输入的业务")
    private String input2Business;

    /**
     * 当作输出的业务
     */
    @Schema(description = "当作输出的业务")
    private String output4Business;

}

